package com.flea.hclv.service;

import com.flea.hclv.model.entity.HGuide;
import com.flea.hclv.model.entity.HGuideTravelGroup;
import com.flea.hclv.util.ServerResponse;
import com.flea.system.bean.FleaPage;

public interface HGuideService {

    ServerResponse<String> saveGuideInfo(String userId, String model);

    ServerResponse<FleaPage<HGuide>> selectAll(int curPage, int pageSize, String queryName, String queryCertificatesNumber,
                                               String queryAuditStatus, String queryProvince, String queryCity);


    ServerResponse<String> updateAuditStatus(String userId, String guideId, String noPassCause);

    ServerResponse<String> updateStatusByUserId(String userId, String status);

    ServerResponse<String> saveGuideGroup(String userId, String groupId, String guideId, String payDeptId, Float guideCost) throws Exception;

    ServerResponse<String> saveGuideGroupPayInfo(String userId, HGuideTravelGroup hGuideTravelGroup);

    ServerResponse<HGuide> getGuideInfo(String guideId,String userId);

    ServerResponse<FleaPage<HGuideTravelGroup>> getGuideTravelGroupPayInfo(String userId, int curPage, int pageSize, String status, String groupName, String guideName, String guidePhone);

    ServerResponse<FleaPage<HGuide>> selectUnaudited(int curPage, int pageSize, String un_auditCode);

    ServerResponse<String> updateGuideInfo(String userId, String model);

    ServerResponse<String> updateOperateStatus(String userId, String guideId, String status);

    ServerResponse<HGuide> getGuideInfoByUserId(String userId);

    ServerResponse<String> deleteGuideGroupRelation(String groupId,String userId);

    ServerResponse<String> updateStatusByGuideId(String guideId,String userId,String status);

}
